go.uber.org/zap/zapcore.leveledEnabler.Enabled (method)
12 uses
go.uber.org/zap/zapcore (current package)
core.go#L88: if c.Enabled(ent.Level) {
increase_level.go#L41: if !core.Enabled(l) && level.Enabled(l) {
increase_level.go#L50: return c.level.Enabled(lvl)
level.go#L104: if enab.Enabled(lvl) {
level.go#L228: Enabled(Level) bool
sampler.go#L215: if !s.Enabled(ent.Level) {
tee.go#L68: if mc[i].Enabled(lvl) {
go.uber.org/zap
logger.go#L330: if lvl < zapcore.DPanicLevel && !log.core.Enabled(lvl) {
logger.go#L382: addStack := log.addStack.Enabled(ce.Level)
sugar.go#L310: if lvl < DPanicLevel && !s.base.Core().Enabled(lvl) {
sugar.go#L322: if lvl < DPanicLevel && !s.base.Core().Enabled(lvl) {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |